/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 客户端用户表实体类
 *
 * @author Blade
 * @since 2019-04-03
 */
@Data
@TableName("t_app_user")
@ApiModel(value = "AppUser对象", description = "客户端用户表")
public class AppUser implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**
     * 用户封面头像
     */
    @ApiModelProperty(value = "用户封面头像")
    private String img;
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String account;
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String phone;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    @TableField("nickName")
  private String nickName;
    /**
     * 微信号
     */
    @ApiModelProperty(value = "微信号")
    private String wechat;
    /**
     * 用户禁用启用状态：1：启用；2：禁用 3：删除 默认为1
     */
    @ApiModelProperty(value = "用户禁用启用状态：1：启用；2：禁用 3：删除 默认为1")
    private Integer status;
    /**
     * 性别 1男2女
     */
    @ApiModelProperty(value = "性别 1男2女")
    private Integer sex;
    /**
     * 职位
     */
    @ApiModelProperty(value = "职位")
    private String job;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("createDate")
  private LocalDateTime createDate;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("updateDate")
  private LocalDateTime updateDate;


}
